#ifndef __KEYBOARD_H__
#define __KEYBOARD_H__

#include <REGX52.H>
#include <stdint.h>

#define KBD_Port P1
#define KBD_DEBOUNCE_TIME 1

#define KEY_A 3
#define KEY_B 7

#define KBD_Init() (KBD_Port = 0xFF)

int8_t KBD_WaitKey(uint16_t time);

#endif